<script setup>
import {usePublicStore} from "@/stores/PublicStores.js";
import {useUserStore} from "@/stores/UserStores.js"

import {onMounted} from "vue";

import zhCn from "element-plus/dist/locale/zh-cn"

const publicStore = usePublicStore();
const {keyValidate} = publicStore;
const userStore = useUserStore();
const {submitIdValidate} = userStore;


onMounted(() => {
  keyValidate();
  submitIdValidate();
});

</script>

<template>
  <el-config-provider :locale="zhCn">
    <div>
      <router-view/>

      <div class="record_number">
        <p>备案号：鲁ICP备2024069636号</p>
      </div>
    </div>
  </el-config-provider>


</template>

<style>
/* 内边距不占用实际大小 */
* {
  box-sizing: border-box;
}

html {
  background-color: #f5f7fa;
}

.record_number {
  font-size: 0.8em;
  color: #999;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  /*文本禁止选中*/
  user-select: none;
}
</style>
